#ifndef TOOLEFFECT_H
#define TOOLEFFECT_H

#include <QGraphicsItem>
#include <QDockWidget>

#include "Layer/layer.h"

class DrawingArea;

class ToolEffect : public QGraphicsItem,public QObject{

public:
    //************************************************************* Constructor
    ToolEffect(DrawingArea* drawingAreaUse);
    //************************************************************* Paint
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    QRectF boundingRect() const;
    void refresh();
    //************************************************************* Affichage of Dock Tool Info
    void createAffichage();

    QDockWidget* dockInfoTool;
    DrawingArea *drawingArea;
};

#endif // TOOLEFFECT_H
